<!DOCTYPE html>
<html lang="cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单测试</title>
</head>

<body>

    <h2>表单登录演示</h2>

    <form action="/mysql_cgi" method="POST">
        <label for="fname">用户名: </label><br>
        <input type="text" id="fname" name="id"><br>
        <label for="lname">密码: </label><br>
        <input type="password" id="lname" name="passward"><br><br>
        <input type="submit" value="提交">
    </form>
    <p>如果点击提交数据会传递给服务器cgi mysql程序，服务器会把数据保存到数据库上</p>
</body>

</html>